package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.b_pojo.Musicuser;
import com.example.common.dto.Register;
import com.example.common.pojo.musicuser;
import com.example.common.utils.R;

public interface MusicUserservice extends IService<musicuser> {

    R<String> registerservice(Register register);


    Page<Musicuser> gethasdeletelist(int pageNum, int pageSize);

    Page<Musicuser> getAlllist(int pageNum, int pageSize);

    boolean b_updateById(Musicuser musicuser);

    Musicuser getuserByName(String username);

    Musicuser getuserById(Long id);

    boolean startRoleByRoleId(Long id);

    boolean deleteUser(Long id);
}
